package com.virgo.demo.support.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.virgo.demo.support.domain.AreaDo;
import com.virgo.demo.support.domain.vo.AreaVo;

import java.util.List;

public interface AreaService extends IService<AreaDo> {

	/**
	 * 获取地区列表
	 * @param parentId Long
	 * @return List<AreaVo>
	 */
	List<AreaVo> findList(Long parentId);

	/**
	 * 地区详情
	 * @param id Long
	 * @return AreaVo
	 */
	AreaVo findInfo(Long id);
}
